import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
import { IsOptional, IsString } from 'class-validator';
import { PaginationDto } from '@/common/dto/pagination.dto';

export class QueryAuthDto extends PaginationDto {
  @ApiPropertyOptional({ description: 'auth名称模糊查询' })
  @IsOptional()
  @IsString()
  name?: string;
}
